package com.taiyuan.tongcheng.bean;

import org.kymjs.kjframe.database.annotate.Id;
import org.kymjs.kjframe.database.annotate.Id;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * 
* @Description 个人信息
* @author wzq
* @date 2015-6-29 上午9:15:03
* @update (date)
* @version V1.0
 */

@XStreamAlias("userinfo")
public class UserInfo {
	public String getPicUrl() {
		return picUrl;
	}
	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}
	@Id
	private int id; // 数据库id
	@XStreamAlias("uid")
	private String uid;//用户id
	@XStreamAlias("token")
	private String token;//登录指令
	@XStreamAlias("name")
	private String name;//为用户名
	@XStreamAlias("mobile")
	private String mobile;//为手机号
	@XStreamAlias("huiYueTimes")
	private int huiYueTimes;//为毁约次数
	@XStreamAlias("addressCount")
	private int addressCount;//为添加的地址总数
	@XStreamAlias("validFlag")
	private int validFlag;//为用户账号状态，0为已停用
	@XStreamAlias("picUrl")
	private String picUrl;
	
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUid() {
		return uid;
	}
	public void setUid(String uid) {
		this.uid = uid;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public int getHuiYueTimes() {
		return huiYueTimes;
	}
	public void setHuiYueTimes(int huiYueTimes) {
		this.huiYueTimes = huiYueTimes;
	}
	public int getAddressCount() {
		return addressCount;
	}
	public void setAddressCount(int addressCount) {
		this.addressCount = addressCount;
	}
	public int getValidFlag() {
		return validFlag;
	}
	public void setValidFlag(int validFlag) {
		this.validFlag = validFlag;
	}

}
